package com.yanshibo.bean;

import com.yanshibo.enums.Role;

public class Student {
	private Integer id;
	private String name;
	private String password;
	private Role role;
	private String mark;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}
	@Override
	public String toString() {
		return "Student [id=" + id + ", name=" + name + ", password=" + password + ", role=" + role + ", mark=" + mark
				+ "]";
	}
	public Student(Integer id, String name, String password, Role role, String mark) {
		super();
		this.id = id;
		this.name = name;
		this.password = password;
		this.role = role;
		this.mark = mark;
	}
	public Student() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
